package com.itheima.mybaits.pojo;

public class Emp {
    private  int  id;
    private  String username;
    private String password;
    private  String name;
    private  int gender;
    private  String image;
    private  int job;

    public Emp() {
    }

    public Emp(int id, String username, String password, String name, int gender, String image, int job) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.name = name;
        this.gender = gender;
        this.image = image;
        this.job = job;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return gender
     */
    public int getGender() {
        return gender;
    }

    /**
     * 设置
     * @param gender
     */
    public void setGender(int gender) {
        this.gender = gender;
    }

    /**
     * 获取
     * @return image
     */
    public String getImage() {
        return image;
    }

    /**
     * 设置
     * @param image
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * 获取
     * @return job
     */
    public int getJob() {
        return job;
    }

    /**
     * 设置
     * @param job
     */
    public void setJob(int job) {
        this.job = job;
    }

    public String toString() {
        return "Emp{id = " + id + ", username = " + username + ", password = " + password + ", name = " + name + ", gender = " + gender + ", image = " + image + ", job = " + job + "}";
    }
}
